.PHONY:all
all:mytestcpp mytest

mytestcpp:test.cpp
	g++ -o $@ $^ -std=c++11
mytest:test.c
	gcc -o $@ $^
.PHONY:clean
clean:
	rm -f mytestcpp mytest



#.PHONY:mytest mytestcc
#mytestcpp:test.cpp
#	g++ -o $@ $^ -std=c++11
#
#mytest:test.c
#	gcc -o $@ $^ -std=c99
#
#.PHONY:clean
#clean:
#	rm -f mytest mytestcpp
#
